//
//  PaperViewController.h
//  XYOnlineSchool
//
//  Created by 毕武侠 on 2016/11/8.
//  Copyright © 2016年 毕武侠. All rights reserved.
//

#import "BaseViewController.h"
#import "PaperDataViewManager.h"

@interface PaperViewController : BaseViewController

@property (nonatomic, assign) BOOL showToolView;            // (YES)是否显示toolView
@property (nonatomic, assign) BOOL showToolTimer;           // (YES)是否显示tool的计时功能
@property (nonatomic, assign) BOOL showToolTitle;           // (NO)是否显示tool的滑动条功能
@property (nonatomic, assign) BOOL showToolPen;             // (YES)是否显示tool的画板功能
@property (nonatomic, assign) BOOL showToolCard;            // (YES)是否显示tool的答题卡功能
@property (nonatomic, assign) BOOL showToolMore;            // (YES)是否显示tool的更多功能
@property (nonatomic, assign) BOOL showToolMoreWrong;       // (YES)是否显示tool的更多的纠错功能
@property (nonatomic, assign) BOOL showToolMoreFavorite;    // (YES)是否显示tool的更多的收藏功能
@property (nonatomic, assign) BOOL showToolMoreShare;       // (YES)是否显示tool的更多的分享功能
@property (nonatomic, assign) BOOL showToolSliderView;      // (YES)是否显示tool的滑动条功能
@property (nonatomic, assign) BOOL showToolModuleTitleView; // (NO)是否显示tool的module跳转功能

@property (nonatomic, assign) BOOL showToolCardTitleView;   // (YES)是否显示tool的Card的title

@property (nonatomic, assign) BOOL isAllowAnswer;           // (YES)是否允许用户答题

@property (nonatomic, assign) BOOL showPaperAnaly;          // (YES)是否显示题目解析（表格）
@property (nonatomic, assign) BOOL showAnswerAnaly;         // (YES)是否显示答案解析
@property (nonatomic, assign) BOOL showKnowledge;           // (YES)是否显示知识点
@property (nonatomic, assign) BOOL showComment;             // (YES)是否显示评论功能




@property (nonatomic, strong) NSString *backViewController;
@property (nonatomic, strong) NSString *url;
@property (nonatomic, strong) NSDictionary *params;
@property (nonatomic, strong) NSString *rmodel;


#pragma mark - type
@property (nonatomic, strong) NSNumber  *ques_type;        // 试题类型 0：智能刷题 1：高频错题 2：考点专练 3：历年真题 6:每日一练 7:错题练习 8:课后练习
@property (nonatomic, strong) NSString *paperIdentifier;   // 加载paperView类型
@property (nonatomic, assign) NSUInteger receiveIndex;     // 接收类型 0:[PaperAnswerModel] 1:[PaperModuleModel]

@property (nonatomic, strong) PaperDataViewManager  *dataViewManager;      // 数据请求ViewManager




// 后续添加功能选项
- (void)setupConfigureView;
// 加载答题页面
- (void)loadViewManager;


@property (nonatomic,copy) NSString *answerType;// chapter_id    paper_id
@property (nonatomic,copy)NSString *ID;//请求试题所需参数

@property (nonatomic, assign)BOOL isComeFromShongCang;

@end
